{# twig template #}
<!-- show default page config -->
<div class="page-default-setting">
    <div class="collapse" id="collapseExample">
        <div class="panel panel-default">
            <div class="panel-body">
                <table class="table table-striped table-condensed">
                    <tr>
                        <th>属性名称</th>
                        <th>默认值</th>
                    </tr>
                    {% for name,value in attrs %}
                        <tr>
                            <td>{{ name }}</td>
                            <td>{{ value is iterable ? value|json_encode : (value ? : "''")  }}</td>
                        </tr>
                    {% endfor %}
                </table>
                <a class="btn btn-danger btn-xs pull-right" role="button" data-toggle="collapse" href="#collapseExample" aria-expanded="false" aria-controls="collapseExample" style="margin-bottom: -10px;">&times;</a>
            </div>
        </div>
    </div>
</div>
<!-- show default page config -->
